<!DOCTYPE html>
<html lang="vi">
<head>
  <meta charset="utf-8">
</head>
<body>
<?php 
        if ($userId) {
            echo 'Please <a href="' . $logoutUrl . '">logout.</a>';
        } else {
            echo 'Please <a href="' . $loginUrl . '">login.</a>';
        }
?>
</body>
</html>